#include "slot.h"
#include <QString>
#include <QMessageBox>
#include  "ElaPushButton.h"

Slot::Slot(QWidget *parent)
    : QWidget{parent}
{

}

void Slot::Register(QString name ,QString Account,QString Password ,QString APassword,QWidget *parent)
{
    if(name == "")
    {
        QMessageBox::critical(parent,"","请输入用户名");
    }

}
